#ifndef HISTORYPRODUCTSALETABLEVIEW_H
#define HISTORYPRODUCTSALETABLEVIEW_H

#include "mytableview.h"
#include "historyproductstandarditemmodel.h"

class HistoryProductSaleTableView : public MyTableView
{
    Q_OBJECT
public:
    explicit HistoryProductSaleTableView(QWidget *parent = nullptr);

    void setListPushButton(ListPushButton *listPushButton);

    void initHiddenState();

    void clear();

    void insertHistoryProduct(QList<HistoryProduct*> historyProducts);

    QList<HistoryProduct*> getEditedHistoryProducts();
signals:

public slots:

private:
    HistoryProductStandardItemModel *model;
};

#endif // HISTORYPRODUCTSALETABLEVIEW_H
